Move construct_vmcs to arch_vmx_do_launch.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 7 Oct 2005 10:00:56 +0000 (11:00 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 7 Oct 2005 10:00:56 +0000 (11:00 +0100)
commit88e2b020386ef55bf2c6216e2d40a228bc2898d9
tree5ad1befa79090947992caf6ef04a3244fdddb923
parentf16cb294c517a54219dc95d1dea1ddab32a7fdea
Move construct_vmcs to arch_vmx_do_launch.

Currently, since VMX guest is brought up by xen0, construct_vmcs is
executed in xen0 hypervisor context, this is not reasonable.  This=20
patch moves construct_vmcs to arch_vmx_do_launch.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Nakajima Jun <nakajima.jun@intel.com>
xen/arch/x86/domain.c
xen/arch/x86/vmx.c
xen/arch/x86/vmx_vmcs.c
xen/include/asm-x86/vmx.h
xen/include/asm-x86/vmx_vmcs.h